package com.lmy.mallback.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lmy.mallback.entity.SmallType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author lmy
* @description 针对表【t_smalltype】的数据库操作Mapper
* @createDate 2023-01-12 00:35:31
* @Entity generator.domain.Smalltype
*/
@Mapper
public interface SmallTypeMapper extends BaseMapper<SmallType> {

    List<SmallType> list(Map<String, Object> map);

    Long getTotal(Map<String, Object> map);

    /**
     * 根据id查询商品小类
     * @param id
     * @return
     */
    public SmallType findById(Integer id);
}




